//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-22
//
//  File Name:	YHQCAAToolsPlugin.h
//
//  Notes:
//
//======================================================================================

#ifndef YHQCAAToolsPlugin_H
#define YHQCAAToolsPlugin_H

//YHQCodingCore Library
#include "YHQPluginInterface.h"

//QT Library
#include <QObject>
#include <QString>
#include <QTextEdit>

#define YHQCAAToolsPlugin_IID "com.yhh.plugin.YHQCAAToolsPlugin"

class YHQCAAToolsPlugin : public QObject, public YHQPluginInterface
{
    Q_OBJECT//Q Object
    Q_INTERFACES(YHQPluginInterface)//YHQ Plugin Interface
    Q_PLUGIN_METADATA(IID YHQCAAToolsPlugin_IID
                      FILE "YHQCAATools.json")
public:

    YHQCAAToolsPlugin();

    ~YHQCAAToolsPlugin();

public:

    /// <summary>Load Plugin</summary>
    /// <param name="opErrMsg">output string</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    virtual YHQDockWidget * LoadYHQDockWidget(QString * opErrMsg = NULL);

};

#endif // YHQCAAToolsPlugin_H
